﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScoreGrade.aspx.cs" Inherits="Appraisal.Web.Appraisal.ScoreGrade" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>

    <link href="../CSS/Default/Style.css" rel="stylesheet" type="text/css" />

</head>
<body topMargin="1" >
    <form id="form1" runat="server">
				<TABLE style="Z-INDEX: 0" id="Table1" class="ms-toolbar" cellSpacing="0" cellPadding="0"
					align="center">
					<TR>
						<TD width="2"><IMG alt="" src="../../Images/Default/blank.gif" width="2" height="1"></TD>
						<TD class="ms-toolbar">
							<TABLE id="Table2" border="0" cellSpacing="0" cellPadding="1">
								<TR>
									<TD noWrap>
										<asp:linkbutton id="lbtnGoBack" runat="server" CssClass="ms-toolbar" 
                                            onclick="lbtnGoBack_Click" CausesValidation="False"> 返回</asp:linkbutton></TD>
								</TR>
							</TABLE>
						</TD>
						<TD width="100%"><IMG alt="" src="../../Images/Default/blank.gif" width="1" height="22"></TD>
					</TR>
				</TABLE>

				<TABLE style="Z-INDEX: 0; WIDTH: 100%; HEIGHT: 32px" id="Table4" class="ms-summarycustombody"
					border="0" cellSpacing="2" cellPadding="2">
					<TR>
						<TD class="ms-vb"><NOBR>考评表ID</NOBR>
						</TD>
						<TD class="ms-vb">
							<asp:Label id="lbKpID" runat="server" CssClass="ms-input"></asp:Label></TD>
						<TD class="ms-vb"><NOBR>考评表名称</NOBR>
						</TD>
						<TD class="ms-vb">
							<asp:Label style="Z-INDEX: 0" id="lbKpName" runat="server" CssClass="ms-input"></asp:Label></TD>
					</TR>
					<TR>
						<TD class="ms-vb">关联&nbsp;
						</TD>
						<TD class="ms-vb">
							<asp:dropdownlist style="Z-INDEX: 0" id="dplRelation" runat="server" CssClass="ms-input">
								<asp:ListItem Value="优秀" Selected="True">优秀</asp:ListItem>
								<asp:ListItem Value="称职">称职</asp:ListItem>
								<asp:ListItem Value="基本称职">基本称职</asp:ListItem>
							    <asp:ListItem>不称职</asp:ListItem>
							</asp:dropdownlist></TD>
						<TD class="ms-vb">起止分数段</TD>
						<TD class="ms-vb">
							<asp:TextBox id="txtScore1" runat="server" CssClass="ms-input" Width="94px"></asp:TextBox>
							<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" 
                                ErrorMessage="必填项" ControlToValidate="txtScore1"></asp:RequiredFieldValidator>
							<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" 
                                ErrorMessage="必须是一个数字" ControlToValidate="txtScore1"
								ValidationExpression="^\d+(\.\d+)?$"></asp:RegularExpressionValidator>
							<asp:TextBox id="txtScore2" runat="server" CssClass="ms-input" Width="94px"></asp:TextBox>
							<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" 
                                ErrorMessage="必填项" ControlToValidate="txtScore2"></asp:RequiredFieldValidator>
							<asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" 
                                ErrorMessage="必须是一个数字" ControlToValidate="txtScore2"
								ValidationExpression="^\d+(\.\d+)?$"></asp:RegularExpressionValidator></TD>
					</TR>
					<TR>
						<TD height="5" colSpan="4">
							<asp:linkbutton id="lbtnAdd" runat="server" CssClass="ms-input" onclick="lbtnAdd_Click">修改后保存</asp:linkbutton></TD>
					</TR>
					<TR>
						<TD height="5" colSpan="4">
							<asp:datagrid id="dg" runat="server" Width="100%" AutoGenerateColumns="False" BorderWidth="0px"
								GridLines="None" CellSpacing="3" AllowSorting="True" FooterStyle-CssClass="datagrid_row" 
                                style="Z-INDEX: 0" ondeletecommand="dg_DeleteCommand">
								<ItemStyle CssClass="datagrid_row"></ItemStyle>
								<HeaderStyle CssClass="datagrid_header"></HeaderStyle>
								<FooterStyle CssClass="datagrid_row"></FooterStyle>
								<Columns>
									<asp:TemplateColumn HeaderText="序号">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
										<HeaderTemplate>
										</HeaderTemplate>
										<ItemTemplate>
											<%# Container.ItemIndex+1%>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:BoundColumn DataField="Grade_ID" HeaderText="主键">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="Kp_ID" HeaderText="考评表编号">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="Grade_Name" HeaderText="等级名称">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="Score_Begin" HeaderText="开始分值">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="Score_End" HeaderText="截止分值">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
									</asp:BoundColumn>
									<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
								</Columns>
							</asp:datagrid></TD>
					</TR>
				</TABLE>

    </form>
</body>
</html>
